home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3442 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: trog.dra.hmg.gb!news
  2. From: icwhiting@dra.hmg.gb (Ian Whiting)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Changing Gadtools Gadgets
  5. Date: Tue, 20 Feb 1996 08:10:24 GMT
  6. Organization: RAF Innsworth
  7. Message-ID: <4gbvtf$2id@trog.dra.hmg.gb>
  8. References: <50332724@river.prima.ruhr.de> <Dn1M8x.Gp3@cf.ac.uk>
  9. Reply-To: icwhiting@dra.hmg.gb
  10. NNTP-Posting-Host: 146.80.246.31
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13. wardle@cf.ac.uk (Mark Wardle) wrote:
  14.  
  15. >Gadtools gadgets cannot be changed once created. You create a list of 
  16. >gadgets and you must treat the list as one whole thing. You cannot access 
  17. >any gadgets within the list directly using standard intuition gadget calls.
  18.  
  19. No you cannot change gadtools gadgets using standard intuition calls,
  20. but there is a gadtools library routine which allows you to alter the
  21. tags for it
  22.  
  23. >The only thing you can do to a gadtools gadget is to toggle the 
  24. >GA_Disabled flag as far as I can remember.
  25.  
  26. You can disable them, but I don't believe that you are allowed to use
  27. to intuition OnGadget and OffGadget routines.
  28.  
  29. >If you want to have one gadget alone, which you can add and remove from a 
  30. >window, then you must create a seperate gadtools gadget list. A 
  31. >significant problem with this however is when you remove the gadget you 
  32. >always need to remove to the end of the list (read the gadtools docs). 
  33. >Therefore, really you can only add and remove one set of gadgets to a 
  34. >window, any more and you will run into problems. (Perhaps not on current 
  35. >versions... and depending on the gadget types).
  36.  
  37. Thats just sprung off an idea.....
  38.  
  39. >I just wish gadtools was an easy way of accessing standard BOOPSI 
  40. >gadgets, so people who want to setup nice GUIs can directly add BOOPSI 
  41. >gadgets to their windows etc... rather than trying to mess about with 
  42. >bloody gadtools.
  43.  
  44. Would be nice.
  45.  
  46. >This is one of the things on my wishlist for OS4..
  47.  
  48. Gadtools should definatly be expanded and improved in version 4. I
  49. certainly prefer to use it than and of the PD gadget libraries just
  50. because it is one which everyone has got (WB2+) and is part of the
  51. standard.
  52.  
  53.  
  54.  
  55. >Yours,
  56. >Mark Wardle
  57.  
  58.  
  59. Thank you.
  60.  
  61. Ian.
  62.  
  63.